package com.pipi.sso.core.service;

import com.pipi.sso.core.model.AdviceBO;
import com.pipi.sso.dao.support.PageResult;

import java.util.List;

/**
 * All rights Reserved, Designed By www.maihaoche.com
 *
 * @Package com.pipi.sso.core.service
 * @date: 2019/4/23 11:25 PM
 * @Copyright: 2017-2020 www.maihaoche.com Inc. All rights reserved.
 */
public interface AdviceService {

    /**
     * <p> 分页条件查询 </p>
     * @param adviceBO
     * @return PageResult<AdviceBO>
     * @throws
     * @date 2019/4/23 11:31 PM
     */
    PageResult<AdviceBO> queryByPaged(AdviceBO adviceBO);

    /**
     * <p> 不分页查询 </p>
     * @param adviceBO
     * @return List<AdviceBO>
     * @throws
     * @date 2019/4/23 11:32 PM
     */
    List<AdviceBO> queryNoPaged(AdviceBO adviceBO);

    /**
     * <p> 添加建议 </p>
     * @param adviceBO
     * @return void
     * @throws
     * @date 2019/4/23 11:37 PM
     */
    void addAdvice(AdviceBO adviceBO);

    /**
     * <p> 更新建议 </p>
     * @param adviceBO
     * @return void
     * @throws
     * @date 2019/4/23 11:37 PM
     */
    void updateAdvice(AdviceBO adviceBO);

    /**
     * <p> 更新状态 </p>
     * @param adviceBO
     * @return void
     * @throws
     * @date 2019/4/23 11:37 PM
     */
    void updateStatus(AdviceBO adviceBO);
}
